<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数字</title>
</head>
<body>
<script>
let count = 10;//即便赋的值是integer;但 count仍然是double类型-->
console.log(count)
console.log(typeof (count))
const blue = 0x0000ff;//十六进制数(十六进制ff等于十进制255)
console.log(blue)
console.log(typeof (blue))
const umask = 0o0022;//八进制(八进制22等于十进制18)
console.log(umask)
console.log(typeof (umask))
const roomTemp = 21.5//十进制
console.log(roomTemp)
console.log(typeof (roomTemp))
const c = 3.0e6;//指数(3.0 × 10~6 = 3,000,000)
console.log(c)
console.log(typeof (c))
const inf = Infinity;//正无穷
console.log(inf)
console.log(typeof (inf))
const ninf = -Infinity;//负无穷
console.log(ninf)
console.log(typeof (ninf))
const nan = NaN;//不是数字
console.log(nan)
console.log(typeof (nan))
console.log()

const bigInt = Number.MAX_SAFE_INTEGER;
const max = Number.MAX_VALUE;
const minInt = Number.MIN_SAFE_INTEGER;
const min = Number.MIN_VALUE;
const nInf = Number.NEGATIVE_INFINITY;
console.log(bigInt)
console.log(max)
console.log(minInt)
console.log(min)
console.log(nInf)
</script>
</body>
</html>